Admin Config Tutorial


I am writing this tutorial to help in implementing the use of it for everyone and it will help
anyone understand how it works so many people can use it.  Config files can be quite confusing 
and I hope to help bridge that gap to make it as easy as possible.  This is a very extensive mod
that has many variables for server and clientside controls so some help may be needed to make 
it work for you.



First off, You may not need to change much at all in the cfg file.  The only thing you need to 
change would probally be the rcon password so you may customise it to your server or the server 
you will be using it for.  This mod has been written for multiple server usage so there are
rcon password inputs for multiple servers.  If you only use one server then you only need to 
input one rcon password.  If you have more than one you can easily add more rcon passwords as needed.




I will now go over how to change the rcon password for this mod.

Open the admin.cfg file with notepad and scroll all the way to the bottom if the txt document.
Once you do that you will see this:

set rconinput_1 "set set_admin rconpassword changeme; set prv_admin vstr rconinput_6; set nxt_admin vstr rconinput_2; echo ^4-^7 Input Server1 ^7Rcon Password (Not Set Yet!) ^4-"
set rconinput_2 "set set_admin rconpassword changeme; set prv_admin vstr rconinput_1; set nxt_admin vstr rconinput_3; echo ^4-^7 Input Server2 ^7Rcon Password ^4-"
set rconinput_3 "set set_admin rconpassword changeme; set prv_admin vstr rconinput_2; set nxt_admin vstr rconinput_4; echo ^4-^7 Input Server3 ^7Rcon Password (Not Set Yet!) ^4-"
set rconinput_4 "set set_admin rconpassword changeme; set prv_admin vstr rconinput_3; set nxt_admin vstr rconinput_5; echo ^4-^7 Input Server4 ^7Rcon Password (Not Set Yet!) ^4-"
set rconinput_5 "set set_admin rconpassword changeme; set prv_admin vstr rconinput_4; set nxt_admin vstr rconinput_6; echo ^4-^7 Input Server5 ^7Rcon Password (Not Set Yet!) ^4-"
set rconinput_6 "set set_admin rconpassword changeme; set prv_admin vstr rconinput_5; set nxt_admin vstr rconinput_1; echo ^4-^7 Input Server6 ^7Rcon Password (Not Set Yet!) ^4-"


There are 6 server rcon password inputs.  It look slike a lot but you only need to be conserned with a 
couple things if you need to input the rcon password for your server.  I will simplify:

ex.

set rconinput_1 "set set_admin rconpassword changeme; set prv_admin vstr rconinput_6; set nxt_admin vstr rconinput_2; echo ^4-^7 Input Server1 ^7Rcon Password (Not Set Yet!) ^4-"


To input the rcon password for your server locate the "changeme" and change that to the rcon password 
to your server.  The rcon password for your server is case sensitive so input the password exactly.


Second scroll over to where it says,  echo ^4-^7 Input Server1 ^7Rcon Password (Not Set Yet!) ^4-"

Change server1 to the name of your server and delete where it says, (Not set Yet!) but leave the ^4~" or you will have problems.


Now save the file and you're done.  Open JK2 (and if everything was set and saved correctly) You should 
be able to connect to your server and use the o,p,[,],and \ keys to find the entry of the input of the 
rconpassword for your server.  Pressing \ once you find the input control will input the rcon password 
for your server.  Once done you should be able to select the controls you want and execute them.  If 
this dosen't work to input the rcon password you may have done something incorrectly and may need to 
start over from the original files supplied in this zip file.  Do note that nothing will happen once to 
input the rcon password for your server.  You will need to find something to execute on your server in 
order to make sure the rcon password has been properly executed.




Most everyone will not need to edit much more in this mod after they have changed the rconpassword.  If 
you wish to add the rconpassword in manually you may do so also and skip editing the mod however if you 
do input the rcon password for your server into the cfg file there is less chance of the rcon password 
being displayed if something was typed incorrectly.



If you do feel comfotable editing cfg files then there is something else you may want to change.  In this 
mod there is a mappicker.cfg.  You can change the map to whatever you need.  I have included all the 
default maps that come with Jk2 but there are selections to add custom maps to the config.  Below is an example:


// Custom Map Selections
set custmap_1 "set set_admin rcon map ffa_factory; set prv_admin vstr custmap_12; set nxt_admin vstr custmap_2; echo ^4--->^7 Geonosis Droid Factory selected ^4<---"
set custmap_2 "set set_admin rcon map ffa_CloudShark; set prv_admin vstr custmap_1; set nxt_admin vstr custmap_3;echo ^4--->^7 Cloudshark selected ^4<---"
set custmap_3 "set set_admin rcon map countryacademy; set prv_admin vstr custmap_2; set nxt_admin vstr custmap_4; echo ^4--->^7 Country Academy selected ^4<---"
set custmap_4 "set set_admin rcon map ffa_carbonfreeze2; set prv_admin vstr custmap_3; set nxt_admin vstr custmap_5; echo ^4--->^7 CarbonFreeze 2 selected ^4<---"
set custmap_5 "set set_admin rcon map ffa_dmf_v2; set prv_admin vstr custmap_4; set nxt_admin vstr custmap_6; echo ^4--->^7 ffa_dmf_v2 Map selected ^4<---"
set custmap_6 "set set_admin rcon map FFA_Helms_Deep; set prv_admin vstr custmap_5; set nxt_admin vstr custmap_7; echo ^4--->^7 Helms Deep of FoU selected ^4<---"
set custmap_7 "set set_admin rcon map cloudmorning; set prv_admin vstr custmap_6; set nxt_admin vstr custmap_8; echo ^4--->^7 Cloud Morning (cloudcity) Map selected ^4<---"
set custmap_8 "set set_admin rcon map jedicouncilgc; set prv_admin vstr custmap_7; set nxt_admin vstr custmap_9; echo ^4--->^7 Jedi Council GC 3.1 Map selected ^4<---"
set custmap_9 "set set_admin rcon map LM_Bespin_v11; set prv_admin vstr custmap_8; set nxt_admin vstr custmap_10; echo ^4--->^7 =LM= Bespin v11 selected ^4~"
set custmap_10 "set set_admin rcon map The_Outhouse; set prv_admin vstr custmap_9; set nxt_admin vstr custmap_11; echo ^4--->^7 The_Outhouse Map selected ^4<---"
set custmap_11 "set set_admin rcon map Dune_IX; set prv_admin vstr custmap_10; set nxt_admin vstr custmap_12; echo ^4--->^7 Dune_IX Map selected ^4<---"
set custmap_12 "set set_admin rcon map_restart; set prv_admin vstr custmap_11; set nxt_admin vstr custmap_1; echo ^4--->^7 Restart Map ^4<---"


That is the exact seceltion from the mapicker.cfg.  There are 12 custom map selections in that list.  Don't let it confuse you though....there are only 2 things to edit in one line to add a custom map to the list:

set custmap_1 "set set_admin rcon map ffa_factory; set prv_admin vstr custmap_12; set nxt_admin vstr custmap_2; echo ^4--->^7 Geonosis Droid Factory selected ^4<---"


To add a custom map change the ffa_factory to your map of choice, then where it says: echo ^4--->^7 Geonosis Droid Factory selected ^4<---", change it to say, echo ^4--->^7 Your Custom Map Name selected ^4<---" and continue if you wish to add more of your custom maps to the list.  In the "echo" you can write whatever you want to identify which map the server will change to, the ffa_factory setting must be the exact man name.


After that if you wish to edit this mod more go right ahead once you feel comfortable editing the cfg files.  Just be careful what you do or the cfg may not work correctly.  Always make backups of your work also so if something does get messed up you can go back to your back up file and fix the problem.





